package com.bootdo.clouddo.domain.juejin;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;

import tk.mybatis.mapper.annotation.NameStyle;
import tk.mybatis.mapper.code.Style;

@Table(name="cms_juejin_post")
@NameStyle(Style.normal)
public class PostDO implements Serializable{

	private static final long serialVersionUID = 8210062196544524655L;
	
	@Id
	@Column(name="ID",length=50, unique=true)
	private String id;
	
	private Integer collectionCount;
	private Integer commentsCount;
	private Boolean gfw;
	private String objectId;
	private Boolean checkStatus;
	private Date buildTime;
	private String entryView;
	private Integer subscribersCount;
	private Date ngxCachedTime;
	private Boolean verifyStatus;
	private String tags;
	private String tagIds;
	private Boolean isEvent;
	private Double rankIndex;
	private Boolean hot;
	private String updatedAt;
	private String originalUrl;
	private String verifyCreatedAt;
	private String createdAt;
	private String user;
	private String userId;
	private String author;
	private String screenshot;
	private Boolean original;
	private Double hotIndex;
	
	@JsonIgnore
	private String content;
	
	private String title;
	private String lastCommentTime;
	private String type;
	private Boolean english;
	private String category;
	private String categoryId;
	private Integer viewsCount;
	private String summaryInfo;
	private Boolean isCollected;
	
	@Transient
	private PostDetailDO detail; //文章详情
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public Integer getCollectionCount() {
		return collectionCount;
	}
	public void setCollectionCount(Integer collectionCount) {
		this.collectionCount = collectionCount;
	}
	public Integer getCommentsCount() {
		return commentsCount;
	}
	public void setCommentsCount(Integer commentsCount) {
		this.commentsCount = commentsCount;
	}
	public Boolean getGfw() {
		return gfw;
	}
	public void setGfw(Boolean gfw) {
		this.gfw = gfw;
	}
	public String getObjectId() {
		return objectId;
	}
	public void setObjectId(String objectId) {
		this.objectId = objectId;
	}
	public Boolean getCheckStatus() {
		return checkStatus;
	}
	public void setCheckStatus(Boolean checkStatus) {
		this.checkStatus = checkStatus;
	}
	public Date getBuildTime() {
		return buildTime;
	}
	public void setBuildTime(Date buildTime) {
		this.buildTime = buildTime;
	}
	public String getEntryView() {
		return entryView;
	}
	public void setEntryView(String entryView) {
		this.entryView = entryView;
	}
	public Integer getSubscribersCount() {
		return subscribersCount;
	}
	public void setSubscribersCount(Integer subscribersCount) {
		this.subscribersCount = subscribersCount;
	}
	public Date getNgxCachedTime() {
		return ngxCachedTime;
	}
	public void setNgxCachedTime(Date ngxCachedTime) {
		this.ngxCachedTime = ngxCachedTime;
	}
	public Boolean getVerifyStatus() {
		return verifyStatus;
	}
	public void setVerifyStatus(Boolean verifyStatus) {
		this.verifyStatus = verifyStatus;
	}
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
	public String getTagIds() {
		return tagIds;
	}
	public void setTagIds(String tagIds) {
		this.tagIds = tagIds;
	}
	public Boolean getIsEvent() {
		return isEvent;
	}
	public void setIsEvent(Boolean isEvent) {
		this.isEvent = isEvent;
	}
	public Double getRankIndex() {
		return rankIndex;
	}
	public void setRankIndex(Double rankIndex) {
		this.rankIndex = rankIndex;
	}
	public Boolean getHot() {
		return hot;
	}
	public void setHot(Boolean hot) {
		this.hot = hot;
	}
	public String getUpdatedAt() {
		return updatedAt;
	}
	public void setUpdatedAt(String updatedAt) {
		this.updatedAt = updatedAt;
	}
	public String getOriginalUrl() {
		return originalUrl;
	}
	public void setOriginalUrl(String originalUrl) {
		this.originalUrl = originalUrl;
	}
	public String getVerifyCreatedAt() {
		return verifyCreatedAt;
	}
	public void setVerifyCreatedAt(String verifyCreatedAt) {
		this.verifyCreatedAt = verifyCreatedAt;
	}
	public String getCreatedAt() {
		return createdAt;
	}
	public void setCreatedAt(String createdAt) {
		this.createdAt = createdAt;
	}
	public String getUser() {
		return user;
	}
	public void setUser(String user) {
		this.user = user;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getScreenshot() {
		return screenshot;
	}
	public void setScreenshot(String screenshot) {
		this.screenshot = screenshot;
	}
	public Boolean getOriginal() {
		return original;
	}
	public void setOriginal(Boolean original) {
		this.original = original;
	}
	public Double getHotIndex() {
		return hotIndex;
	}
	public void setHotIndex(Double hotIndex) {
		this.hotIndex = hotIndex;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getLastCommentTime() {
		return lastCommentTime;
	}
	public void setLastCommentTime(String lastCommentTime) {
		this.lastCommentTime = lastCommentTime;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Boolean getEnglish() {
		return english;
	}
	public void setEnglish(Boolean english) {
		this.english = english;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(String categoryId) {
		this.categoryId = categoryId;
	}
	public Integer getViewsCount() {
		return viewsCount;
	}
	public void setViewsCount(Integer viewsCount) {
		this.viewsCount = viewsCount;
	}
	public String getSummaryInfo() {
		return summaryInfo;
	}
	public void setSummaryInfo(String summaryInfo) {
		this.summaryInfo = summaryInfo;
	}
	public Boolean getIsCollected() {
		return isCollected;
	}
	public void setIsCollected(Boolean isCollected) {
		this.isCollected = isCollected;
	}
	public PostDetailDO getDetail() {
		return detail;
	}
	public void setDetail(PostDetailDO detail) {
		this.detail = detail;
	}
	
	
}
